string join inside foreach loop c#

62

string join inside foreach loop c# -

//join string inside loop 
finalString = string.Join("|", EmployeeList.Select( x=> x.Name));

Comments

Submit
0 Comments